<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.7"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DGRv2: ns3::DgrHeader Class Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">DGRv2<span id="projectnumber">&#160;2-dev</span>
   </div>
   <div id="projectbrief">A Delay-Guaranteed Routing Protocol model in ns-3</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.7 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('d1/de8/classns3_1_1_dgr_header.html','../../'); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="../../dc/d40/classns3_1_1_dgr_header-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">ns3::DgrHeader Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p>dgr header  
 <a href="../../d1/de8/classns3_1_1_dgr_header.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="../../de/dc1/dgr-header_8h_source.html">dgr-header.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="../../closed.png" alt="+"/> Inheritance diagram for ns3::DgrHeader:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../df/d23/classns3_1_1_dgr_header__inherit__graph.png" border="0" usemap="#ans3_1_1_dgr_header_inherit__map" alt="Inheritance graph"/></div>
<map name="ans3_1_1_dgr_header_inherit__map" id="ans3_1_1_dgr_header_inherit__map">
<area shape="rect" title="dgr header" alt="" coords="5,79,128,104"/>
<area shape="rect" href="../../d8/dc9/class_header.html" title=" " alt="" coords="32,5,101,31"/>
<area shape="poly" title=" " alt="" coords="69,44,69,79,64,79,64,44"/>
</map>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">legend</a>]</span></center></div>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="../../closed.png" alt="+"/> Collaboration diagram for ns3::DgrHeader:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d2/dab/classns3_1_1_dgr_header__coll__graph.png" border="0" usemap="#ans3_1_1_dgr_header_coll__map" alt="Collaboration graph"/></div>
<map name="ans3_1_1_dgr_header_coll__map" id="ans3_1_1_dgr_header_coll__map">
<area shape="rect" title="dgr header" alt="" coords="105,284,228,309"/>
<area shape="rect" href="../../d8/dc9/class_header.html" title=" " alt="" coords="5,5,75,31"/>
<area shape="poly" title=" " alt="" coords="40,44,38,81,40,126,49,175,68,220,83,240,102,257,142,282,139,286,99,261,79,244,63,223,44,176,35,127,33,81,34,44"/>
<area shape="rect" href="../../de/d1d/classns3_1_1_dgr_nse.html" title="dgr v2 Neighbor Status Entry (NSE)" alt="" coords="81,108,183,133"/>
<area shape="poly" title=" " alt="" coords="62,39,124,106,120,110,58,43"/>
<area shape="rect" title=" " alt="" coords="280,196,347,221"/>
<area shape="poly" title=" " alt="" coords="289,232,244,262,196,286,193,282,241,258,286,228"/>
<area shape="rect" title=" " alt="" coords="77,196,256,221"/>
<area shape="poly" title=" " alt="" coords="169,235,169,283,164,283,164,235"/>
<area shape="poly" title=" " alt="" coords="144,145,164,194,159,196,139,147"/>
<area shape="rect" title=" " alt="" coords="99,5,173,31"/>
<area shape="poly" title=" " alt="" coords="138,45,135,108,130,108,132,45"/>
<area shape="rect" title=" " alt="" coords="207,108,315,133"/>
<area shape="poly" title=" " alt="" coords="248,147,224,174,190,198,187,194,221,170,244,143"/>
<area shape="rect" title=" " alt="" coords="242,5,281,31"/>
<area shape="poly" title=" " alt="" coords="264,45,264,108,259,108,259,45"/>
</map>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ab21f647781eecc35e6b201178915de4c"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/de8/classns3_1_1_dgr_header.html#ab21f647781eecc35e6b201178915de4c">Command_e</a> { <a class="el" href="../../d1/de8/classns3_1_1_dgr_header.html#ab21f647781eecc35e6b201178915de4cacc2d402a1af70c8265edf152551e1fb0">REQUEST</a> = 0x1
, <a class="el" href="../../d1/de8/classns3_1_1_dgr_header.html#ab21f647781eecc35e6b201178915de4ca8d8894292f7def51be8e3f118f7c1e08">RESPONSE</a> = 0x2
 }</td></tr>
<tr class="memdesc:ab21f647781eecc35e6b201178915de4c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Commands to be used in Dgr headers.  <a href="../../d1/de8/classns3_1_1_dgr_header.html#ab21f647781eecc35e6b201178915de4c">More...</a><br /></td></tr>
<tr class="separator:ab21f647781eecc35e6b201178915de4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a92be687ce1e22b5ecfc104c55397e97a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/de8/classns3_1_1_dgr_header.html#a92be687ce1e22b5ecfc104c55397e97a">DgrHeader</a> ()</td></tr>
<tr class="separator:a92be687ce1e22b5ecfc104c55397e97a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6004075aa81cee64dbf96c03e548f41e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/de8/classns3_1_1_dgr_header.html#a6004075aa81cee64dbf96c03e548f41e">AddNse</a> (<a class="el" href="../../de/d1d/classns3_1_1_dgr_nse.html">DgrNse</a> nse)</td></tr>
<tr class="memdesc:a6004075aa81cee64dbf96c03e548f41e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a DGR Neighbor Status Entry (NSE) to the message.  <br /></td></tr>
<tr class="separator:a6004075aa81cee64dbf96c03e548f41e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a930203fc0319f7d6f2119079096168dc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/de8/classns3_1_1_dgr_header.html#a930203fc0319f7d6f2119079096168dc">ClearNses</a> ()</td></tr>
<tr class="memdesc:a930203fc0319f7d6f2119079096168dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear all the NSEs from the header.  <br /></td></tr>
<tr class="separator:a930203fc0319f7d6f2119079096168dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a972cb695337832c59fe1f8475c33d902"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/de8/classns3_1_1_dgr_header.html#a972cb695337832c59fe1f8475c33d902">Deserialize</a> (Buffer::Iterator start) override</td></tr>
<tr class="memdesc:a972cb695337832c59fe1f8475c33d902"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deserialize the packet.  <br /></td></tr>
<tr class="separator:a972cb695337832c59fe1f8475c33d902"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75a9665a3108d89e19891e73b0f51251"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d1/de8/classns3_1_1_dgr_header.html#ab21f647781eecc35e6b201178915de4c">Command_e</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/de8/classns3_1_1_dgr_header.html#a75a9665a3108d89e19891e73b0f51251">GetCommand</a> () const</td></tr>
<tr class="memdesc:a75a9665a3108d89e19891e73b0f51251"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the command.  <br /></td></tr>
<tr class="separator:a75a9665a3108d89e19891e73b0f51251"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d4e033c4a315e17b242421856447aad"><td class="memItemLeft" align="right" valign="top">TypeId&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/de8/classns3_1_1_dgr_header.html#a9d4e033c4a315e17b242421856447aad">GetInstanceTypeId</a> () const override</td></tr>
<tr class="memdesc:a9d4e033c4a315e17b242421856447aad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the instance type identifier.  <br /></td></tr>
<tr class="separator:a9d4e033c4a315e17b242421856447aad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad28f3042c3a7579cf82d7debfab3ff94"><td class="memItemLeft" align="right" valign="top">std::list&lt; <a class="el" href="../../de/d1d/classns3_1_1_dgr_nse.html">DgrNse</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/de8/classns3_1_1_dgr_header.html#ad28f3042c3a7579cf82d7debfab3ff94">GetNseList</a> () const</td></tr>
<tr class="memdesc:ad28f3042c3a7579cf82d7debfab3ff94"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the list of NSEs included in the message.  <br /></td></tr>
<tr class="separator:ad28f3042c3a7579cf82d7debfab3ff94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7b3e6830add872de26fc78b1af52372"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/de8/classns3_1_1_dgr_header.html#ae7b3e6830add872de26fc78b1af52372">GetNseNumber</a> () const</td></tr>
<tr class="memdesc:ae7b3e6830add872de26fc78b1af52372"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of NSEs includes in the message.  <br /></td></tr>
<tr class="separator:ae7b3e6830add872de26fc78b1af52372"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2fcef3eb0f76c33b6d7c151dc4b939e3"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/de8/classns3_1_1_dgr_header.html#a2fcef3eb0f76c33b6d7c151dc4b939e3">GetSerializedSize</a> () const override</td></tr>
<tr class="memdesc:a2fcef3eb0f76c33b6d7c151dc4b939e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the serialized size of the packet.  <br /></td></tr>
<tr class="separator:a2fcef3eb0f76c33b6d7c151dc4b939e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc60d4b57c29b89faf44e8db2bc223a9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/de8/classns3_1_1_dgr_header.html#afc60d4b57c29b89faf44e8db2bc223a9">Print</a> (std::ostream &amp;os) const override</td></tr>
<tr class="separator:afc60d4b57c29b89faf44e8db2bc223a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21bd3c98f0c1c2a7110e24bbd2258737"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/de8/classns3_1_1_dgr_header.html#a21bd3c98f0c1c2a7110e24bbd2258737">Serialize</a> (Buffer::Iterator start) const override</td></tr>
<tr class="memdesc:a21bd3c98f0c1c2a7110e24bbd2258737"><td class="mdescLeft">&#160;</td><td class="mdescRight">Serialize the packet.  <br /></td></tr>
<tr class="separator:a21bd3c98f0c1c2a7110e24bbd2258737"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6c91c53e2bf12faf7f315e55a103412"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/de8/classns3_1_1_dgr_header.html#ae6c91c53e2bf12faf7f315e55a103412">SetCommand</a> (<a class="el" href="../../d1/de8/classns3_1_1_dgr_header.html#ab21f647781eecc35e6b201178915de4c">Command_e</a> command)</td></tr>
<tr class="memdesc:ae6c91c53e2bf12faf7f315e55a103412"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the command.  <br /></td></tr>
<tr class="separator:ae6c91c53e2bf12faf7f315e55a103412"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a31749d9e94fa05433769aefdc48b99ee"><td class="memItemLeft" align="right" valign="top">static TypeId&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/de8/classns3_1_1_dgr_header.html#a31749d9e94fa05433769aefdc48b99ee">GetTypeId</a> ()</td></tr>
<tr class="memdesc:a31749d9e94fa05433769aefdc48b99ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the type ID.  <br /></td></tr>
<tr class="separator:a31749d9e94fa05433769aefdc48b99ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a26054c79e83d831602dadf1671bb41d3"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/de8/classns3_1_1_dgr_header.html#a26054c79e83d831602dadf1671bb41d3">m_command</a></td></tr>
<tr class="memdesc:a26054c79e83d831602dadf1671bb41d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">command type  <br /></td></tr>
<tr class="separator:a26054c79e83d831602dadf1671bb41d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61847b86fd5fb5a94a1c3e81fae0b446"><td class="memItemLeft" align="right" valign="top">std::list&lt; <a class="el" href="../../de/d1d/classns3_1_1_dgr_nse.html">DgrNse</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/de8/classns3_1_1_dgr_header.html#a61847b86fd5fb5a94a1c3e81fae0b446">m_nseList</a></td></tr>
<tr class="memdesc:a61847b86fd5fb5a94a1c3e81fae0b446"><td class="mdescLeft">&#160;</td><td class="mdescRight">list of the DNEs in the message  <br /></td></tr>
<tr class="separator:a61847b86fd5fb5a94a1c3e81fae0b446"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>dgr header </p>

<p class="definition">Definition at line <a class="el" href="../../de/dc1/dgr-header_8h_source.html#l00095">95</a> of file <a class="el" href="../../de/dc1/dgr-header_8h_source.html">dgr-header.h</a>.</p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="ab21f647781eecc35e6b201178915de4c" name="ab21f647781eecc35e6b201178915de4c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab21f647781eecc35e6b201178915de4c">&#9670;&#160;</a></span>Command_e</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="../../d1/de8/classns3_1_1_dgr_header.html#ab21f647781eecc35e6b201178915de4c">ns3::DgrHeader::Command_e</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Commands to be used in Dgr headers. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ab21f647781eecc35e6b201178915de4cacc2d402a1af70c8265edf152551e1fb0" name="ab21f647781eecc35e6b201178915de4cacc2d402a1af70c8265edf152551e1fb0"></a>REQUEST&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="ab21f647781eecc35e6b201178915de4ca8d8894292f7def51be8e3f118f7c1e08" name="ab21f647781eecc35e6b201178915de4ca8d8894292f7def51be8e3f118f7c1e08"></a>RESPONSE&#160;</td><td class="fielddoc"></td></tr>
</table>

<p class="definition">Definition at line <a class="el" href="../../de/dc1/dgr-header_8h_source.html#l00136">136</a> of file <a class="el" href="../../de/dc1/dgr-header_8h_source.html">dgr-header.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a92be687ce1e22b5ecfc104c55397e97a" name="a92be687ce1e22b5ecfc104c55397e97a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a92be687ce1e22b5ecfc104c55397e97a">&#9670;&#160;</a></span>DgrHeader()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ns3::DgrHeader::DgrHeader </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00103">103</a> of file <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html">dgr-header.cc</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a6004075aa81cee64dbf96c03e548f41e" name="a6004075aa81cee64dbf96c03e548f41e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6004075aa81cee64dbf96c03e548f41e">&#9670;&#160;</a></span>AddNse()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::DgrHeader::AddNse </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../de/d1d/classns3_1_1_dgr_nse.html">DgrNse</a>&#160;</td>
          <td class="paramname"><em>nse</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Add a DGR Neighbor Status Entry (NSE) to the message. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">nse</td><td>the Neighbor Status Entry </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00214">214</a> of file <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html">dgr-header.cc</a>.</p>

<p class="reference">References <a class="el" href="../../de/dc1/dgr-header_8h_source.html#l00179">m_nseList</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l01370">ns3::Ipv4DGRRouting::DoSendNeighborStatusUpdate()</a>.</p>
<div id="dynsection-2" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-2-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-2-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-2-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d1/de8/classns3_1_1_dgr_header_a6004075aa81cee64dbf96c03e548f41e_icgraph.png" border="0" usemap="#ad1/de8/classns3_1_1_dgr_header_a6004075aa81cee64dbf96c03e548f41e_icgraph" alt=""/></div>
<map name="ad1/de8/classns3_1_1_dgr_header_a6004075aa81cee64dbf96c03e548f41e_icgraph" id="ad1/de8/classns3_1_1_dgr_header_a6004075aa81cee64dbf96c03e548f41e_icgraph">
<area shape="rect" title="Add a DGR Neighbor Status Entry (NSE) to the message." alt="" coords="719,37,900,62"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#aff694e326df155e5a99a85d805b7d172" title="Sending Neighbor Status Updates on all interfaces." alt="" coords="444,29,671,69"/>
<area shape="poly" title=" " alt="" coords="705,52,671,52,671,47,705,47"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a238052760f17cb9a493e98ef38b6de8f" title="Send Unsolicited neighbor status information Updates on all interfaces." alt="" coords="213,29,396,69"/>
<area shape="poly" title=" " alt="" coords="430,52,396,52,396,47,430,47"/>
<area shape="poly" title=" " alt="" coords="342,18,329,11,305,8,284,10,271,15,266,21,269,28,264,30,261,20,268,10,282,5,305,3,330,6,344,13"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a0bb01e6d6468d3c42a989434c193b372" title="Start protocol operation." alt="" coords="5,29,165,69"/>
<area shape="poly" title=" " alt="" coords="200,52,165,52,165,47,200,47"/>
</map>
</div>

</div>
</div>
<a id="a930203fc0319f7d6f2119079096168dc" name="a930203fc0319f7d6f2119079096168dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a930203fc0319f7d6f2119079096168dc">&#9670;&#160;</a></span>ClearNses()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::DgrHeader::ClearNses </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clear all the NSEs from the header. </p>

<p class="definition">Definition at line <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00220">220</a> of file <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html">dgr-header.cc</a>.</p>

<p class="reference">References <a class="el" href="../../de/dc1/dgr-header_8h_source.html#l00179">m_nseList</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l01370">ns3::Ipv4DGRRouting::DoSendNeighborStatusUpdate()</a>.</p>
<div id="dynsection-3" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-3-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-3-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-3-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d1/de8/classns3_1_1_dgr_header_a930203fc0319f7d6f2119079096168dc_icgraph.png" border="0" usemap="#ad1/de8/classns3_1_1_dgr_header_a930203fc0319f7d6f2119079096168dc_icgraph" alt=""/></div>
<map name="ad1/de8/classns3_1_1_dgr_header_a930203fc0319f7d6f2119079096168dc_icgraph" id="ad1/de8/classns3_1_1_dgr_header_a930203fc0319f7d6f2119079096168dc_icgraph">
<area shape="rect" title="Clear all the NSEs from the header." alt="" coords="719,37,916,62"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#aff694e326df155e5a99a85d805b7d172" title="Sending Neighbor Status Updates on all interfaces." alt="" coords="444,29,671,69"/>
<area shape="poly" title=" " alt="" coords="705,52,671,52,671,47,705,47"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a238052760f17cb9a493e98ef38b6de8f" title="Send Unsolicited neighbor status information Updates on all interfaces." alt="" coords="213,29,396,69"/>
<area shape="poly" title=" " alt="" coords="430,52,396,52,396,47,430,47"/>
<area shape="poly" title=" " alt="" coords="342,18,329,11,305,8,284,10,271,15,266,21,269,28,264,30,261,20,268,10,282,5,305,3,330,6,344,13"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a0bb01e6d6468d3c42a989434c193b372" title="Start protocol operation." alt="" coords="5,29,165,69"/>
<area shape="poly" title=" " alt="" coords="200,52,165,52,165,47,200,47"/>
</map>
</div>

</div>
</div>
<a id="a972cb695337832c59fe1f8475c33d902" name="a972cb695337832c59fe1f8475c33d902"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a972cb695337832c59fe1f8475c33d902">&#9670;&#160;</a></span>Deserialize()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ns3::DgrHeader::Deserialize </td>
          <td>(</td>
          <td class="paramtype">Buffer::Iterator&#160;</td>
          <td class="paramname"><em>start</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Deserialize the packet. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">start</td><td>Buffer iterator </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>size of the packet </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00162">162</a> of file <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html">dgr-header.cc</a>.</p>

<p class="reference">References <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00059">ns3::DgrNse::Deserialize()</a>, <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00045">ns3::DgrNse::GetSerializedSize()</a>, <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00138">GetSerializedSize()</a>, <a class="el" href="../../d3/d89/dgr-sink_8cc_source.html#l00169">ns3::i</a>, <a class="el" href="../../de/dc1/dgr-header_8h_source.html#l00178">m_command</a>, <a class="el" href="../../de/dc1/dgr-header_8h_source.html#l00179">m_nseList</a>, <a class="el" href="../../de/dc1/dgr-header_8h_source.html#l00138">REQUEST</a>, and <a class="el" href="../../de/dc1/dgr-header_8h_source.html#l00139">RESPONSE</a>.</p>
<div id="dynsection-4" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-4-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-4-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-4-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d1/de8/classns3_1_1_dgr_header_a972cb695337832c59fe1f8475c33d902_cgraph.png" border="0" usemap="#ad1/de8/classns3_1_1_dgr_header_a972cb695337832c59fe1f8475c33d902_cgraph" alt=""/></div>
<map name="ad1/de8/classns3_1_1_dgr_header_a972cb695337832c59fe1f8475c33d902_cgraph" id="ad1/de8/classns3_1_1_dgr_header_a972cb695337832c59fe1f8475c33d902_cgraph">
<area shape="rect" title="Deserialize the packet." alt="" coords="5,56,209,81"/>
<area shape="rect" href="../../de/d1d/classns3_1_1_dgr_nse.html#ac07423ad134e176d78257b014d307e78" title="Deserialize the packet." alt="" coords="289,5,471,31"/>
<area shape="poly" title=" " alt="" coords="176,53,297,31,298,36,177,59"/>
<area shape="rect" href="../../de/d1d/classns3_1_1_dgr_nse.html#a2b24a215ee38cb8ec0e5a8c6f5247e01" title="Get the serialized size of the packet." alt="" coords="551,56,773,81"/>
<area shape="poly" title=" " alt="" coords="210,66,537,66,537,71,210,71"/>
<area shape="rect" href="../../d1/de8/classns3_1_1_dgr_header.html#a2fcef3eb0f76c33b6d7c151dc4b939e3" title="Get the serialized size of the packet." alt="" coords="257,107,503,132"/>
<area shape="poly" title=" " alt="" coords="177,79,298,101,297,107,176,84"/>
<area shape="poly" title=" " alt="" coords="452,28,578,51,577,56,451,33"/>
<area shape="poly" title=" " alt="" coords="451,104,577,81,578,86,452,109"/>
</map>
</div>

</div>
</div>
<a id="a75a9665a3108d89e19891e73b0f51251" name="a75a9665a3108d89e19891e73b0f51251"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a75a9665a3108d89e19891e73b0f51251">&#9670;&#160;</a></span>GetCommand()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d1/de8/classns3_1_1_dgr_header.html#ab21f647781eecc35e6b201178915de4c">DgrHeader::Command_e</a> ns3::DgrHeader::GetCommand </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the command. </p>
<dl class="section return"><dt>Returns</dt><dd>the command </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00208">208</a> of file <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html">dgr-header.cc</a>.</p>

<p class="reference">References <a class="el" href="../../de/dc1/dgr-header_8h_source.html#l00178">m_command</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l01287">ns3::Ipv4DGRRouting::Receive()</a>.</p>
<div id="dynsection-5" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-5-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-5-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-5-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d1/de8/classns3_1_1_dgr_header_a75a9665a3108d89e19891e73b0f51251_icgraph.png" border="0" usemap="#ad1/de8/classns3_1_1_dgr_header_a75a9665a3108d89e19891e73b0f51251_icgraph" alt=""/></div>
<map name="ad1/de8/classns3_1_1_dgr_header_a75a9665a3108d89e19891e73b0f51251_icgraph" id="ad1/de8/classns3_1_1_dgr_header_a75a9665a3108d89e19891e73b0f51251_icgraph">
<area shape="rect" title="Get the command." alt="" coords="421,13,643,38"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a2eb8a683180ce3d3726767f5b986e3d8" title="Receive an DGR message." alt="" coords="213,5,373,45"/>
<area shape="poly" title=" " alt="" coords="408,28,373,28,373,23,408,23"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a0bb01e6d6468d3c42a989434c193b372" title="Start protocol operation." alt="" coords="5,5,165,45"/>
<area shape="poly" title=" " alt="" coords="200,28,166,28,166,23,200,23"/>
</map>
</div>

</div>
</div>
<a id="a9d4e033c4a315e17b242421856447aad" name="a9d4e033c4a315e17b242421856447aad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d4e033c4a315e17b242421856447aad">&#9670;&#160;</a></span>GetInstanceTypeId()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">TypeId ns3::DgrHeader::GetInstanceTypeId </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the instance type identifier. </p>
<dl class="section return"><dt>Returns</dt><dd>the object TypeId </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00119">119</a> of file <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html">dgr-header.cc</a>.</p>

<p class="reference">References <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00109">GetTypeId()</a>.</p>
<div id="dynsection-6" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-6-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-6-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-6-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d1/de8/classns3_1_1_dgr_header_a9d4e033c4a315e17b242421856447aad_cgraph.png" border="0" usemap="#ad1/de8/classns3_1_1_dgr_header_a9d4e033c4a315e17b242421856447aad_cgraph" alt=""/></div>
<map name="ad1/de8/classns3_1_1_dgr_header_a9d4e033c4a315e17b242421856447aad_cgraph" id="ad1/de8/classns3_1_1_dgr_header_a9d4e033c4a315e17b242421856447aad_cgraph">
<area shape="rect" title="Return the instance type identifier." alt="" coords="5,5,215,45"/>
<area shape="rect" href="../../d1/de8/classns3_1_1_dgr_header.html#a31749d9e94fa05433769aefdc48b99ee" title="Get the type ID." alt="" coords="263,13,459,38"/>
<area shape="poly" title=" " alt="" coords="215,23,249,23,249,28,215,28"/>
</map>
</div>

</div>
</div>
<a id="ad28f3042c3a7579cf82d7debfab3ff94" name="ad28f3042c3a7579cf82d7debfab3ff94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad28f3042c3a7579cf82d7debfab3ff94">&#9670;&#160;</a></span>GetNseList()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::list&lt; <a class="el" href="../../de/d1d/classns3_1_1_dgr_nse.html">DgrNse</a> &gt; ns3::DgrHeader::GetNseList </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the list of NSEs included in the message. </p>
<dl class="section return"><dt>Returns</dt><dd>the list of DNEs in the message </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00232">232</a> of file <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html">dgr-header.cc</a>.</p>

<p class="reference">References <a class="el" href="../../de/dc1/dgr-header_8h_source.html#l00179">m_nseList</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l01432">ns3::Ipv4DGRRouting::HandleResponses()</a>.</p>
<div id="dynsection-7" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-7-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-7-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-7-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d1/de8/classns3_1_1_dgr_header_ad28f3042c3a7579cf82d7debfab3ff94_icgraph.png" border="0" usemap="#ad1/de8/classns3_1_1_dgr_header_ad28f3042c3a7579cf82d7debfab3ff94_icgraph" alt=""/></div>
<map name="ad1/de8/classns3_1_1_dgr_header_ad28f3042c3a7579cf82d7debfab3ff94_icgraph" id="ad1/de8/classns3_1_1_dgr_header_ad28f3042c3a7579cf82d7debfab3ff94_icgraph">
<area shape="rect" title="Get the list of NSEs included in the message." alt="" coords="629,13,832,38"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#aa29a1573985386ddcc0c9616ab524836" title="Handle DGR responses." alt="" coords="421,5,581,45"/>
<area shape="poly" title=" " alt="" coords="616,28,581,28,581,23,616,23"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a2eb8a683180ce3d3726767f5b986e3d8" title="Receive an DGR message." alt="" coords="213,5,373,45"/>
<area shape="poly" title=" " alt="" coords="408,28,374,28,374,23,408,23"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a0bb01e6d6468d3c42a989434c193b372" title="Start protocol operation." alt="" coords="5,5,165,45"/>
<area shape="poly" title=" " alt="" coords="200,28,166,28,166,23,200,23"/>
</map>
</div>

</div>
</div>
<a id="ae7b3e6830add872de26fc78b1af52372" name="ae7b3e6830add872de26fc78b1af52372"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae7b3e6830add872de26fc78b1af52372">&#9670;&#160;</a></span>GetNseNumber()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t ns3::DgrHeader::GetNseNumber </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the number of NSEs includes in the message. </p>
<dl class="section return"><dt>Returns</dt><dd>the number of DNEs in the message </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00226">226</a> of file <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html">dgr-header.cc</a>.</p>

<p class="reference">References <a class="el" href="../../de/dc1/dgr-header_8h_source.html#l00179">m_nseList</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l01370">ns3::Ipv4DGRRouting::DoSendNeighborStatusUpdate()</a>.</p>
<div id="dynsection-8" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-8-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-8-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-8-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d1/de8/classns3_1_1_dgr_header_ae7b3e6830add872de26fc78b1af52372_icgraph.png" border="0" usemap="#ad1/de8/classns3_1_1_dgr_header_ae7b3e6830add872de26fc78b1af52372_icgraph" alt=""/></div>
<map name="ad1/de8/classns3_1_1_dgr_header_ae7b3e6830add872de26fc78b1af52372_icgraph" id="ad1/de8/classns3_1_1_dgr_header_ae7b3e6830add872de26fc78b1af52372_icgraph">
<area shape="rect" title="Get the number of NSEs includes in the message." alt="" coords="719,37,949,62"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#aff694e326df155e5a99a85d805b7d172" title="Sending Neighbor Status Updates on all interfaces." alt="" coords="444,29,671,69"/>
<area shape="poly" title=" " alt="" coords="705,52,671,52,671,47,705,47"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a238052760f17cb9a493e98ef38b6de8f" title="Send Unsolicited neighbor status information Updates on all interfaces." alt="" coords="213,29,396,69"/>
<area shape="poly" title=" " alt="" coords="430,52,396,52,396,47,430,47"/>
<area shape="poly" title=" " alt="" coords="342,18,329,11,305,8,284,10,271,15,266,21,269,28,264,30,261,20,268,10,282,5,305,3,330,6,344,13"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a0bb01e6d6468d3c42a989434c193b372" title="Start protocol operation." alt="" coords="5,29,165,69"/>
<area shape="poly" title=" " alt="" coords="200,52,165,52,165,47,200,47"/>
</map>
</div>

</div>
</div>
<a id="a2fcef3eb0f76c33b6d7c151dc4b939e3" name="a2fcef3eb0f76c33b6d7c151dc4b939e3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2fcef3eb0f76c33b6d7c151dc4b939e3">&#9670;&#160;</a></span>GetSerializedSize()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ns3::DgrHeader::GetSerializedSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the serialized size of the packet. </p>
<dl class="section return"><dt>Returns</dt><dd>size </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00138">138</a> of file <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html">dgr-header.cc</a>.</p>

<p class="reference">References <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00045">ns3::DgrNse::GetSerializedSize()</a>, and <a class="el" href="../../de/dc1/dgr-header_8h_source.html#l00179">m_nseList</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00162">Deserialize()</a>, <a class="el" href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l01370">ns3::Ipv4DGRRouting::DoSendNeighborStatusUpdate()</a>, and <a class="el" href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l01432">ns3::Ipv4DGRRouting::HandleResponses()</a>.</p>
<div id="dynsection-9" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-9-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-9-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-9-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d1/de8/classns3_1_1_dgr_header_a2fcef3eb0f76c33b6d7c151dc4b939e3_cgraph.png" border="0" usemap="#ad1/de8/classns3_1_1_dgr_header_a2fcef3eb0f76c33b6d7c151dc4b939e3_cgraph" alt=""/></div>
<map name="ad1/de8/classns3_1_1_dgr_header_a2fcef3eb0f76c33b6d7c151dc4b939e3_cgraph" id="ad1/de8/classns3_1_1_dgr_header_a2fcef3eb0f76c33b6d7c151dc4b939e3_cgraph">
<area shape="rect" title="Get the serialized size of the packet." alt="" coords="5,5,251,31"/>
<area shape="rect" href="../../de/d1d/classns3_1_1_dgr_nse.html#a2b24a215ee38cb8ec0e5a8c6f5247e01" title="Get the serialized size of the packet." alt="" coords="299,5,521,31"/>
<area shape="poly" title=" " alt="" coords="251,15,285,15,285,21,251,21"/>
</map>
</div>
<div id="dynsection-10" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-10-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-10-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-10-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d1/de8/classns3_1_1_dgr_header_a2fcef3eb0f76c33b6d7c151dc4b939e3_icgraph.png" border="0" usemap="#ad1/de8/classns3_1_1_dgr_header_a2fcef3eb0f76c33b6d7c151dc4b939e3_icgraph" alt=""/></div>
<map name="ad1/de8/classns3_1_1_dgr_header_a2fcef3eb0f76c33b6d7c151dc4b939e3_icgraph" id="ad1/de8/classns3_1_1_dgr_header_a2fcef3eb0f76c33b6d7c151dc4b939e3_icgraph">
<area shape="rect" title="Get the serialized size of the packet." alt="" coords="719,63,964,88"/>
<area shape="rect" href="../../d1/de8/classns3_1_1_dgr_header.html#a972cb695337832c59fe1f8475c33d902" title="Deserialize the packet." alt="" coords="455,5,659,31"/>
<area shape="poly" title=" " alt="" coords="764,62,620,33,621,28,765,57"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#aff694e326df155e5a99a85d805b7d172" title="Sending Neighbor Status Updates on all interfaces." alt="" coords="444,55,671,95"/>
<area shape="poly" title=" " alt="" coords="705,78,671,78,671,73,705,73"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#aa29a1573985386ddcc0c9616ab524836" title="Handle DGR responses." alt="" coords="477,119,637,159"/>
<area shape="poly" title=" " alt="" coords="771,94,638,124,637,119,770,88"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a238052760f17cb9a493e98ef38b6de8f" title="Send Unsolicited neighbor status information Updates on all interfaces." alt="" coords="213,55,396,95"/>
<area shape="poly" title=" " alt="" coords="430,78,396,78,396,73,430,73"/>
<area shape="poly" title=" " alt="" coords="342,44,329,37,305,34,284,36,271,41,266,47,269,54,264,56,261,46,268,36,282,31,305,29,330,32,344,39"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a0bb01e6d6468d3c42a989434c193b372" title="Start protocol operation." alt="" coords="5,87,165,127"/>
<area shape="poly" title=" " alt="" coords="200,93,166,98,165,93,199,88"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a2eb8a683180ce3d3726767f5b986e3d8" title="Receive an DGR message." alt="" coords="225,119,385,159"/>
<area shape="poly" title=" " alt="" coords="464,142,385,142,385,137,464,137"/>
<area shape="poly" title=" " alt="" coords="211,128,165,122,166,116,212,123"/>
</map>
</div>

</div>
</div>
<a id="a31749d9e94fa05433769aefdc48b99ee" name="a31749d9e94fa05433769aefdc48b99ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a31749d9e94fa05433769aefdc48b99ee">&#9670;&#160;</a></span>GetTypeId()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">TypeId ns3::DgrHeader::GetTypeId </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the type ID. </p>
<dl class="section return"><dt>Returns</dt><dd>the object TypeId </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00109">109</a> of file <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html">dgr-header.cc</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00119">GetInstanceTypeId()</a>.</p>
<div id="dynsection-11" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-11-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-11-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-11-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d1/de8/classns3_1_1_dgr_header_a31749d9e94fa05433769aefdc48b99ee_icgraph.png" border="0" usemap="#ad1/de8/classns3_1_1_dgr_header_a31749d9e94fa05433769aefdc48b99ee_icgraph" alt=""/></div>
<map name="ad1/de8/classns3_1_1_dgr_header_a31749d9e94fa05433769aefdc48b99ee_icgraph" id="ad1/de8/classns3_1_1_dgr_header_a31749d9e94fa05433769aefdc48b99ee_icgraph">
<area shape="rect" title="Get the type ID." alt="" coords="263,13,459,38"/>
<area shape="rect" href="../../d1/de8/classns3_1_1_dgr_header.html#a9d4e033c4a315e17b242421856447aad" title="Return the instance type identifier." alt="" coords="5,5,215,45"/>
<area shape="poly" title=" " alt="" coords="249,28,215,28,215,23,249,23"/>
</map>
</div>

</div>
</div>
<a id="afc60d4b57c29b89faf44e8db2bc223a9" name="afc60d4b57c29b89faf44e8db2bc223a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc60d4b57c29b89faf44e8db2bc223a9">&#9670;&#160;</a></span>Print()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::DgrHeader::Print </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>os</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00125">125</a> of file <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html">dgr-header.cc</a>.</p>

<p class="reference">References <a class="el" href="../../de/dc1/dgr-header_8h_source.html#l00178">m_command</a>, and <a class="el" href="../../de/dc1/dgr-header_8h_source.html#l00179">m_nseList</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00238">ns3::operator&lt;&lt;()</a>.</p>
<div id="dynsection-12" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-12-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-12-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-12-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d1/de8/classns3_1_1_dgr_header_afc60d4b57c29b89faf44e8db2bc223a9_icgraph.png" border="0" usemap="#ad1/de8/classns3_1_1_dgr_header_afc60d4b57c29b89faf44e8db2bc223a9_icgraph" alt=""/></div>
<map name="ad1/de8/classns3_1_1_dgr_header_afc60d4b57c29b89faf44e8db2bc223a9_icgraph" id="ad1/de8/classns3_1_1_dgr_header_afc60d4b57c29b89faf44e8db2bc223a9_icgraph">
<area shape="rect" title=" " alt="" coords="184,5,345,31"/>
<area shape="rect" href="../../d7/d2e/namespacens3.html#ad812b83ef3a6a7ca1821627d3eca5253" title="Stream insertion operator." alt="" coords="5,5,136,31"/>
<area shape="poly" title=" " alt="" coords="170,21,136,21,136,15,170,15"/>
</map>
</div>

</div>
</div>
<a id="a21bd3c98f0c1c2a7110e24bbd2258737" name="a21bd3c98f0c1c2a7110e24bbd2258737"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a21bd3c98f0c1c2a7110e24bbd2258737">&#9670;&#160;</a></span>Serialize()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::DgrHeader::Serialize </td>
          <td>(</td>
          <td class="paramtype">Buffer::Iterator&#160;</td>
          <td class="paramname"><em>start</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Serialize the packet. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">start</td><td>Buffer iterator </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00145">145</a> of file <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html">dgr-header.cc</a>.</p>

<p class="reference">References <a class="el" href="../../d3/d89/dgr-sink_8cc_source.html#l00169">ns3::i</a>, <a class="el" href="../../de/dc1/dgr-header_8h_source.html#l00178">m_command</a>, and <a class="el" href="../../de/dc1/dgr-header_8h_source.html#l00179">m_nseList</a>.</p>

</div>
</div>
<a id="ae6c91c53e2bf12faf7f315e55a103412" name="ae6c91c53e2bf12faf7f315e55a103412"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae6c91c53e2bf12faf7f315e55a103412">&#9670;&#160;</a></span>SetCommand()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::DgrHeader::SetCommand </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d1/de8/classns3_1_1_dgr_header.html#ab21f647781eecc35e6b201178915de4c">Command_e</a>&#160;</td>
          <td class="paramname"><em>command</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the command. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">command</td><td>the command </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00202">202</a> of file <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html">dgr-header.cc</a>.</p>

<p class="reference">References <a class="el" href="../../de/dc1/dgr-header_8h_source.html#l00178">m_command</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l01370">ns3::Ipv4DGRRouting::DoSendNeighborStatusUpdate()</a>.</p>
<div id="dynsection-13" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-13-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-13-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-13-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d1/de8/classns3_1_1_dgr_header_ae6c91c53e2bf12faf7f315e55a103412_icgraph.png" border="0" usemap="#ad1/de8/classns3_1_1_dgr_header_ae6c91c53e2bf12faf7f315e55a103412_icgraph" alt=""/></div>
<map name="ad1/de8/classns3_1_1_dgr_header_ae6c91c53e2bf12faf7f315e55a103412_icgraph" id="ad1/de8/classns3_1_1_dgr_header_ae6c91c53e2bf12faf7f315e55a103412_icgraph">
<area shape="rect" title="Set the command." alt="" coords="719,37,937,62"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#aff694e326df155e5a99a85d805b7d172" title="Sending Neighbor Status Updates on all interfaces." alt="" coords="444,29,671,69"/>
<area shape="poly" title=" " alt="" coords="705,52,671,52,671,47,705,47"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a238052760f17cb9a493e98ef38b6de8f" title="Send Unsolicited neighbor status information Updates on all interfaces." alt="" coords="213,29,396,69"/>
<area shape="poly" title=" " alt="" coords="430,52,396,52,396,47,430,47"/>
<area shape="poly" title=" " alt="" coords="342,18,329,11,305,8,284,10,271,15,266,21,269,28,264,30,261,20,268,10,282,5,305,3,330,6,344,13"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a0bb01e6d6468d3c42a989434c193b372" title="Start protocol operation." alt="" coords="5,29,165,69"/>
<area shape="poly" title=" " alt="" coords="200,52,165,52,165,47,200,47"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a26054c79e83d831602dadf1671bb41d3" name="a26054c79e83d831602dadf1671bb41d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a26054c79e83d831602dadf1671bb41d3">&#9670;&#160;</a></span>m_command</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t ns3::DgrHeader::m_command</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>command type </p>

<p class="definition">Definition at line <a class="el" href="../../de/dc1/dgr-header_8h_source.html#l00178">178</a> of file <a class="el" href="../../de/dc1/dgr-header_8h_source.html">dgr-header.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00162">Deserialize()</a>, <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00208">GetCommand()</a>, <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00125">Print()</a>, <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00145">Serialize()</a>, and <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00202">SetCommand()</a>.</p>

</div>
</div>
<a id="a61847b86fd5fb5a94a1c3e81fae0b446" name="a61847b86fd5fb5a94a1c3e81fae0b446"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a61847b86fd5fb5a94a1c3e81fae0b446">&#9670;&#160;</a></span>m_nseList</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::list&lt;<a class="el" href="../../de/d1d/classns3_1_1_dgr_nse.html">DgrNse</a>&gt; ns3::DgrHeader::m_nseList</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>list of the DNEs in the message </p>

<p class="definition">Definition at line <a class="el" href="../../de/dc1/dgr-header_8h_source.html#l00179">179</a> of file <a class="el" href="../../de/dc1/dgr-header_8h_source.html">dgr-header.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00214">AddNse()</a>, <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00220">ClearNses()</a>, <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00162">Deserialize()</a>, <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00232">GetNseList()</a>, <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00226">GetNseNumber()</a>, <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00138">GetSerializedSize()</a>, <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00125">Print()</a>, and <a class="el" href="../../d8/d9d/dgr-header_8cc_source.html#l00145">Serialize()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>model/<a class="el" href="../../de/dc1/dgr-header_8h_source.html">dgr-header.h</a></li>
<li>model/<a class="el" href="../../d8/d9d/dgr-header_8cc_source.html">dgr-header.cc</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../d7/d2e/namespacens3.html">ns3</a></li><li class="navelem"><a class="el" href="../../d1/de8/classns3_1_1_dgr_header.html">DgrHeader</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
  </ul>
</div>
</body>
</html>
